// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import VueAxios from 'vue-axios'
// import VueRouter from 'vue-router'

import { library } from '@fortawesome/fontawesome-svg-core'
import { faHome, faCalendar, faChartBar, faGlobe } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
library.add(faHome, faCalendar, faChartBar, faGlobe)
Vue.component('font-awesome-icon', FontAwesomeIcon)
Vue.config.productionTip = false

Vue.config.productionTip = false
Vue.prototype.$ajax = axios

/* eslint-disable no-new */

// new VueRouter({
//   mode: 'history',
//   routes: router
// })

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
